assign roles to user

91

use App\Models\User;

$user = User::find(1);

$user->roles()->attach($roleId);

Comments

Submit
0 Comments